package com.tuanzi.loan.business.repository.common;

import org.springframework.data.jpa.repository.JpaRepository;

import com.tuanzi.loan.business.entity.common.CommProductChannel;
import com.tuanzi.loan.business.repository.common.custom.CommProductChannelRepositoryCustom;

import java.util.List;

/**
 * @author Ray 2017/09/21
 */
public interface CommProductChannelRepository extends CommProductChannelRepositoryCustom, JpaRepository<CommProductChannel, Long> {
    List<CommProductChannel> findAllByChannelCodeIn(List<Integer> channelCodes);
}
